package vip.sweet.biz.modular.order.enums;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ASUS
 * @Date 2025/10/4 18:59
 * @Descripition
 */
@SuppressWarnings("all")
@Schema(description = "业务逻辑订单状态枚举类")
@Getter
@AllArgsConstructor
public enum OrderStatusType {
    PENDING("pending", "待处理"),
    PAID("paid", "已支付"),
    SHIPPED("shipped", "已发货"),
    DELIVERED("delivered", "已收货"),
    CANCELED("canceled", "已取消"),
    REFUNDED("refunded", "已退款");
    @Schema(description = "订单状态")
    private final String code;
    @Schema(description = "订单状态描述")
    private final String message;
}
